package com.soft.cake.mapper;

import java.util.List;

import com.soft.cake.pojo.Img;

public interface ImgMapper {
    int deleteByPrimaryKey(Integer imgId);

    int insert(Img record);

    int insertSelective(Img record);

    Img selectByPrimaryKey(Integer imgId);

    int updateByPrimaryKeySelective(Img record);

    int updateByPrimaryKey(Img record);
    
    Img selectByProductKey(Integer productId);
    
    List<Img> selectByProductId(Integer productId);
}